//
//  SchoolRecordBarColor.h
//  Learn
//
//  Created by zyl_macbookpro on 2024/4/7.
//  Copyright © 2024 迟建国. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
#define chartMargin         10
#define xLabelMargin        15
#define yLabelMargin        15
#define LLLabelHeight       10
#define LLYLabelwidth       30

//范围
struct Range {
    CGFloat max;
    CGFloat min;
};
typedef struct Range CGRange;
CG_INLINE CGRange CGRangeMake(CGFloat max, CGFloat min);

CG_INLINE CGRange
CGRangeMake(CGFloat max, CGFloat min){
    CGRange p;
    p.max = max;
    p.min = min;
    return p;
}

static const CGRange CGRangeZero = {0,0};
@interface SchoolRecordBarColor : UIColor

+(UIColor *)randomColor;
+(UIColor *)randomColorDeep;
+(UIColor *)randomColorlight;
+(UIColor *)red;
+(UIColor *)green;
+(UIColor *)brown;

@end

NS_ASSUME_NONNULL_END
